<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF_8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="/must_go/css/menu/styles.css">
<link rel="stylesheet" type="text/css" href="/${initParam.rootPath}/css/main.css" />
<script src="http://code.jquery.com/jquery-latest.min.js" type="text/javascript"></script>
<script src="/must_go/css/menu/script.js"></script>
<script type="text/javascript" src="/${initParam.rootPath}/script/jquery.js"></script>
<script type="text/javascript">
	function loginPopup() {
		window.open("/must_go/membership/login.do", "로그인폼",
						"width=310,height=180,scrollbars=yes,resizeable=no,left=500,top=200");
	};
</script>
<title>Insert title here</title>
</head>
<body>
	<div id="header">
		<img id="logo_image" src="/must_go/images/logo.png"> 
		<a href="/${initParam.rootPath }/mainpage/home.do"><span id="logo">MUST GO</span></a>
		<div id='cssmain'>
			<ul>
				<li><a href='#'>축제정보</a></li>
				<li><a href='#'>여행정보</a></li>
				<li><a href="/${initParam.rootPath }/reserve/reservation.do">예약확인</a></li>
				<li><a href='/${initParam.rootPath }/noticeboard/list.do'>고객센터</a></li>
				<c:choose>
					<c:when test="${sessionScope.login_info != null}">
						<c:choose>
							<c:when test="${sessionScope.login_info.grade == '관리자'}">
							${sessionScope.login_info.name}님 환영합니다.
							<li><a href="/must_go/membership/logout.do">로그아웃</a></li>
								<li><a href="/must_go/admin/admin.do">관리자 페이지</a></li>
							</c:when>
							<c:otherwise>
								${sessionScope.login_info.name}님 환영합니다.
								<li><a href="/must_go/membership/logout.do">로그아웃</a></li>
								<li><a href="/must_go/membership/mypage.do">마이페이지</a></li>
							</c:otherwise>
						</c:choose>
					</c:when>
					<c:otherwise>
						<li><a href="#" onclick="loginPopup()">로그인</a></li>
					</c:otherwise>
				</c:choose>
			</ul>
		</div>
	</div>
	
	<img src="/must_go/images/main_image.gif" width="100%"/>
	<div id="body" align="center">
		<div id="wrapper" align="center">
			<div id="sub_navi">
				<!-- 넣고싶은 갯수만큼 위에꺼 복사 -->
				<table>
					<tr align="center">
						<td><a href="#"><img src="/must_go/images/menu/1.png"><br/>축제정보</a></td>
						<td><a href="#"><img src="/must_go/images/menu/2.png"><br/>예약하기</a></td>
						<td><a href="#"><img src="/must_go/images/menu/3.png"><br/>상품정보</a></td>
						<td><a href="/${initParam.rootPath }/reviewsboard/list.do"><img	src="/must_go/images/menu/1.png"><br/>여행후기</a></td>
						<td><a href="#"><img src="/must_go/images/menu/2.png"><br/>고객센터</a></td>
					</tr>
				</table>
			</div>
			<div id="content" align="center">
				<table id="main_product_list">
					<tr>
						<td colspan="2"><img src="/must_go/images/content/content.png" width="530px"></td>
						<td colspan="2"><img src="/must_go/images/content/content2.png" width="530px"></td>
					</tr>
					<tr>
						<td colspan="2">태양을 품은 바다이야기! 태안과 보물섬 안면도 100배 즐기기!</td>
						<td colspan="2">천혜의 자연경관을 달리는 협곡열차 & 영월명소 기차여행</td>
					</tr>
					<tr>
						<td width="405px"><span style="font-style:italic;">서울, 성북구</span></td>
						<td><a href="#" class="more_btn">More Info</a></td>
						<td width="405px"><span style="font-style:italic;">부산, 해운대구</span></td>
						<td><a href="#" class="more_btn">More Info</a></td>
					</tr>
					<tr>
						<td colspan="2"><br/><br/></td>
					</tr>
				</table>
			</div>
			<footer> 
				<ui class="menu">
					<li><a href="/${initParam.rootPath }/mainpage/adm.do">임시관리자</a></li>
					<li><a href="/${initParam.rootPath }/reserve/reservation.do">임시예약</a></li>
					<li><a href="/${initParam.rootPath }/mainpage/payment.do">임시결제</a></li>
				</ui>
				<p class="address">
					<br> <span>상호 : Must_go</span> <span>대표자 :
						Kosta_78th_Group_4</span> <span>사업자 등록번호 : 123-456-12345</span><br> <span>통신판매업
						신고 987-7876-567</span> <span>전화 : 112</span> <span>팩스 :
						343-72478-3228</span><br> <span>주소 : 대한민국</span><br> <span>개인정보관리
						책임자 : rr8496@naver.com Kosta_78th_Group_4</span><br> <span>Copyright
						&copy; 2014 Must_go. All rights reserved.</span>
				</p>
			</footer>
		</div>
	</div>
</body>
</html>